<template>
  <div class="index">
	<p class="index-button" @click="openConversation">打开 TUIKit 会话</p>
  </div>
</template>
<script>
export default {
methods: {
  // 打开 TUIKit 启动页 
  openConversation() {
    uni.navigateTo({
	  url: "/TUIKit/components/TUIConversation/index",
	});
  }
 },
};
</script>
<style lang="scss" scoped>
.index {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  &-button {
    width: 180px;
	padding: 10px 40px;
	background-color: #006eff;
	color: #ffffff;
	font-size: 16px;
	margin-top: 65px;
	border-radius: 30px;
	text-align: center;
  }
}
</style>